<?php

namespace App\VO\UserCoupon\MetaInfo;

class CouponInfo
{
    /**
     * @var int
     */
    public $id;

    /**
     * @var string
     */
    public $name;

    /**
     * @var string
     */
    public $type;

    /**
     * 是否使用
     * @var int
     */
    public $used = 0;

    /**
     * @var int
     */
    public $minAmount;

    /**
     * @var string
     */
    public $value;

    /**
     * @var string
     */
    public $notBefore;

    /**
     * @var string
     */
    public $notAfter;

    /**
     * 可用城市ID
     * @var string
     */
    public $cityId = '';

    /**
     * 可用城市
     * @var string
     */
    public $areaname = '';

    /**
     * 可用产品
     * @var string
     */
    public $productSkuTitle = '';


    /**
     * @param string $type
     */
    public function setType(string $type): void
    {
        $this->type = $type;
    }

    /**
     * @param int $used
     */
    public function setUsed(int $used): void
    {
        $this->used = $used;
    }

    /**
     * @param string $name
     */
    public function setName(string $name): void
    {
        $this->name = $name;
    }

    /**
     * @param int $id
     */
    public function setId(int $id): void
    {
        $this->id = $id;
    }
}
